﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt
{
	// Token: 0x020000B7 RID: 183
	public class TParseErrorSqlStatement : TCustomSqlStatement
	{
		// Token: 0x0600063D RID: 1597 RVA: 0x002FE604 File Offset: 0x002FC804
		public TParseErrorSqlStatement(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstinvalid;
		}

		// Token: 0x0600063E RID: 1598 RVA: 0x002FE614 File Offset: 0x002FC814
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			this.isparsed = false;
			return 0;
		}

		// Token: 0x0600063F RID: 1599 RVA: 0x002FE630 File Offset: 0x002FC830
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000640 RID: 1600 RVA: 0x002FE640 File Offset: 0x002FC840
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
